<?php
namespace App\Fastapp\Dto;

use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;
use Mine\Interfaces\MineModelExcel;

/**
 * 分类列表Dto （导入导出）
 */
#[ExcelData]
class FastappCategoryDto implements MineModelExcel
{
    #[ExcelProperty(value: "主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "创建时间", index: 1)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 2)]
    public string $updated_at;

    #[ExcelProperty(value: "删除时间", index: 3)]
    public string $deleted_at;

    #[ExcelProperty(value: "名称", index: 4)]
    public string $name;

    #[ExcelProperty(value: "icon", index: 5)]
    public string $image;

    #[ExcelProperty(value: "icon", index: 6)]
    public string $sort;

    #[ExcelProperty(value: "上级", index: 7)]
    public string $parent_id;

    #[ExcelProperty(value: "1显示", index: 8)]
    public string $status;

    #[ExcelProperty(value: "调用代码", index: 9)]
    public string $code;


}